package com.pkk.cloud.support.admin.entity.resource;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "penguin_sys_server")
public class PenguinSysServer implements Serializable {

  private static final long serialVersionUID = -342180739090425888L;
  /**
   * 主键，服务ID
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;


  /**
   * 服务名称
   */
  @TableField(value = "server_name")
  private String serverName;


  /**
   * 服务code信息
   */
  @TableField(value = "server_code")
  private String serverCode;

  /**
   * 服务排序正序排列
   */
  @TableField(value = "sort")
  private Integer sort;


  /**
   * 是否删除，0：未删除，1：已删除
   */
  @TableId(value = "is_deleted", type = IdType.INPUT)
  private Boolean isDeleted;


  /**
   * 创建人
   */
  @TableField(value = "create_name")
  private String createName;

  /**
   * 创建时间
   */
  @TableField(value = "create_time")
  private Date createTime;

  /**
   * 修改人
   */
  @TableField(value = "update_name")
  private String updateName;

  /**
   * 修改时间
   */
  @TableField(value = "update_time")
  private Date updateTime;

  /**
   * 备注
   */
  @TableField(value = "remark")
  private String remark;


}